package com.demo.dao;

import java.util.List;


/**
 * 
* @Title: BaseDao.java
* @Package com.ssh.demo.dao
* @Description: TODO(定义公共的业务逻辑代码)
* @author QQ495663075
* @date 2014-6-5 下午6:46:28
* @version V1.0
 */
public interface BaseDao<T> {

	public void save(T t);

	public int delete(String id);

	public void update(T t);

	public List<T> query();
	
	public List<T> query(String hql);

	public T get(String id);
	
}
